package param.firstStage;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import param.pub.Org;
import param.pub.Publicresponse;
import param.pub.ShareResponse;


@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name = "orgsynresponse")
public class OrgsynResponse extends ShareResponse implements Serializable {

	private static final long serialVersionUID = 46755585478257968L;

	private Publicresponse publicresponse;

	private List<Org> orgs;

	@XmlElement(name = "publicresponse")
	public Publicresponse getPublicresponse() {
		return publicresponse;
	}

	public void setPublicresponse(Publicresponse publicresponse) {
		this.publicresponse = publicresponse;
	}

	public List<Org> getOrgs() {
		return orgs;
	}

	@XmlElementWrapper(name = "orgs")
	@XmlElement(name = "org")
	public void setOrgs(List<Org> orgs) {
		this.orgs = orgs;
	}

}
